{% extends "base.html" %}
{% block title %}{{block.super}} - Fragrance - List {% endblock %}
{% block content %}
<div>
 <h2>Fragrance - List </h2>
 {% for fragrance_object in fragrance_set%}
 <div>
  id: {{fragrance_object.id}}<br>
title: {{fragrance_object.title}}<br>
description: {{fragrance_object.description}}<br>
picture: {{fragrance_object.picture}}<br>
price: {{fragrance_object.price}}<br>
created: {{fragrance_object.created}}<br>
modified: {{fragrance_object.modified}}<br>

  Links are here, uncomment them<br />
  {% comment %}
  <a href="{% url fragrances:fragrance_view fragrance_object.id %}">link to self</a><br />
  <a href="{{fragrance_object.get_absolute_url}}">{{fragrance_object}}</a>
  {% endcomment %}
 </div>
 {% empty %}
 <div>No Fragrance at the moment</div>
 {% endfor %}
</div>

<div>
 Links are here, uncomment them<br />
 {% comment %}
 <a href="{% url fragrances:fragrance_list %}">All {{'Fragrance'|pluralize}}</a><br />
 <a href="{% url fragrances:fragrance_view fragrance_object.id %}">link to self</a><br />
 <a href="{{fragrance_object.get_absolute_url}}">{{fragrance_object}}</a><br />
 <a href="{% url fragrances:fragrance_edit fragrance_object.id %}">edit this</a><br />
 <a href="{% url fragrances:fragrance_create %}">Add new Fragrance</a><br />
 {% endcomment %}
</div>
{% endblock content %}